package encore.portal.container;

import java.util.Map;

import javax.portlet.PortletMode;
import javax.portlet.PortletSecurityException;
import javax.portlet.WindowState;

public interface PortletURLProvider {
	 
	public static enum TYPE{
		ACTION,RENDER,RESOURCE;
	}
	
	public TYPE getType();
	
	public void setPortletMode(PortletMode mode);
	
	public PortletMode getPortletMode();
	
	public void setWindowState(WindowState state);
	
	public WindowState getWindowState();
	
	public void setSecure(boolean secure)throws PortletSecurityException;
	
	public boolean isSecure();
	
	public Map<String, String[]> getRenderParameters();
	
	public Map<String, String[]> getPublicRenderParameters();
	
	public String getCacheability();
	
	public void setCacheability();
	
	public String getResourceID();
	
	public void setResourceID(String resourceID);
	
	public String toURL();
}
